import React, {Component} from 'react'

export interface CardBodyProps extends React.HTMLAttributes<HTMLElement> {
  className?: string
}

class CardBody extends Component<CardBodyProps> {
  render(): React.ReactNode {
    const {className} = this.props
    return <div className={'card-body ' + (className || '')}>{this.props.children}</div>
  }
}

export default CardBody
